package com.ruibang.glass.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.domain.req.DefectGroupReq;
import com.ruibang.glass.quality.entity.Defect;
import com.ruibang.glass.quality.entity.DefectGroup;
import com.teaming.cloud.framework2.common.model.ResultBody;

import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-08-30  14:41
 * @Description: TODO:
 * @Version: 1.0
 */


public interface DefectGroupService extends IService<DefectGroup> {

    ResultBody queryDefectGroup(DefectGroupReq defectGroupReq);

    ResultBody getCheckMachine();

    ResultBody insert(DefectGroup defectGroup);

    List<Defect> getByCheckMachine(String code, String type);

    void deleteById(String defectGroupId);

    ResultBody getDetail(String defectGroupId);

    ResultBody edit(DefectGroup defectGroup);

}
